home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98a.txt / 000060_icon-group-sender _Wed Feb 25 12:24:05 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.7/8.8.7) with SMTP id MAA05273
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Wed, 25 Feb 1998 12:24:04 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA28648; Wed, 25 Feb 1998 12:24:03 -0700
  7. Date: Wed, 25 Feb 1998 12:57:17 -0600
  8. Message-Id: <199802251857.MAA06117@segfault.cs.utsa.edu>
  9. From: Clinton Jeffery <jeffery@segfault.cs.utsa.edu>
  10. To: icon-group@optima.CS.Arizona.EDU
  11. Subject: DOS/386 Icon already generates .exe files
  12. Reply-To: jeffery@cs.utsa.edu
  13. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  14. Status: RO
  15. Content-Length: 1012
  16.  
  17.  
  18. [Carl Sturtivant writes about .exe files for Icon programs:]
  19. > iconx still has to know its own length, so it knows how much
  20. > to skip over.
  21.  
  22. As Carl's message alludes to, it turns out that DOS/386 Icon
  23. already generates .exe files (using a -A option to icont); its been
  24. available this way for years, I think.  That implementation uses a
  25. similar technique to the one Windows Icon recently *re*-discovered.
  26. The sample solution sent to me by Ray Pereda did just what you describe.
  27.  
  28. But I figured out how to do it in a way that iconx does *not* have to know
  29. its own length, which means I don't have to recompute that value every time
  30. the interpreter source code is modified, which is frequently!  Like your
  31. implementation, one version of wiconx.exe (or nticonx.exe) serves as both a
  32. stub in a standalone and as an interpreter of regular (small) icode files.
  33.  
  34. Clint Jeffery, jeffery@cs.utsa.edu
  35. Division of Computer Science, The University of Texas at San Antonio
  36. Research http://www.cs.utsa.edu/research/plss.html
  37.